/*
 * Project Name spring-boot-tools
 * File Name UserInfo
 * Package Name com.huxiaosu.tools.mybatis.entity
 * Create Time 2024/7/12
 * Create by name：liujie
 */
package com.huxiaosu.tools.mybatis.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huxiaosu.tools.autocreate.annotation.ColumnExtend;
import com.huxiaosu.tools.autocreate.annotation.TableExtend;
import com.huxiaosu.tools.mybatis.base.entity.BaseEntity;
import lombok.Data;

/**
 * Description
 *
 * @author liujie
 * @date 2024/7/12 10:01
 */
@Data
@TableExtend(comment = "用户信息表")
@TableName(value = "user_info")
public class UserInfo extends BaseEntity {
    @ColumnExtend(length = 50, comment = "用户名")
    @TableField(value = "username")
    private String username;

    @ColumnExtend(length = 50, comment = "租户编号")
    @TableField(value = "tenant_id")
    private String tenantId;
}